package com.ny.nybase.widget.ptr;

/**
 * Created by LiangYu on 2018/1/8.
 */
public class PullToRefreshWidgetStateStore {

    // 拖动起始纵坐标
    private float pullY;

    // 拖动起始时头尾控件的高度
    private float extraHeight;

    // Normal状态时初始的高度
    private float initialHeight;

    public PullToRefreshWidgetStateStore(){
        this.pullY = 0f;
        this.extraHeight = 0f;
        this.initialHeight = 0f;
    }

    public float getPullY() {
        return pullY;
    }

    public void setPullY(float pullY) {
        this.pullY = pullY;
    }

    public float getExtraHeight() {
        return extraHeight;
    }

    public void setExtraHeight(float extraHeight) {
        this.extraHeight = extraHeight;
    }

    public float getInitialHeight() {
        return initialHeight;
    }

    public void setInitialHeight(float initialHeight) {
        this.initialHeight = initialHeight;
    }
}
